{extend name="layout"}
{block name='style'}
<meta name="referrer" content="always">
{/block}
{block name="body"}
<main class="main">
    <section class="spotlight parallax bg-cover bg-size--cover" data-spotlight="fullscreen"
             style="background-image: url('assets/images/backgrounds/home-bg.png')">
        <div class="spotlight-holder py-lg pt-lg-xl">
            <div class="container align-items-center no-padding">
                --{$Request.session.openid}
                <form>
                    <div class="form-group">
                        <label for="exampleInputEmail1">手机号码</label>
                        <input type="text" class="form-control" id="exampleInputEmail1">
                    </div>
                    <div class="form-group">
                        <label for="exampleInputPassword1">密码</label>
                        <input type="password" class="form-control" id="exampleInputPassword1">
                    </div>
<!--                    <input type="hidden" value="{$openid}">-->
                    <div class="form-group d-flex justify-content-around pt-sm">
                        <button type="submit" class="btn btn-primary">登录</button>
                        <button type="submit" class="btn btn-facebook">注册</button>
                    </div>

                </form>
            </div>
        </div>
    </section>
</main>
<!--<footer class="pt-5 pb-3 footer  footer-dark bg-tertiary">-->
<!--    <div class="container">-->
<!--        <div class="row">-->
<!--            <div class="col-12 col-md-4">-->
<!--                <div class="pr-lg-5">-->
<!--                    <h1 class="heading h6 text-uppercase font-weight-700 mb-3"><strong>Boomerang</strong> UI Kit</h1>-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
<!--    </div>-->
<!--</footer>`-->
{/block}

{block name='script'}
<script>
    {if $url !== ''}
    location.href= '{$url|raw}';
    {/if}
</script>
{/block}